<%@ include file="/includes/taglibs.jsp" %>	
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<h3>${modelTitle}</h3>
<form:form modelAttribute="modelForm">
	<form:errors path="*" delimiter="&lt;p/&gt;"/>
	<form:hidden path="id"/>
	<fieldset>
		<div class="form-row">
			<label for="shopName">Shop Name</label>
			<form:input path="shopName"/>
			<form:errors path="shopName" cssClass="error" />
		</div>
		<div class="form-row">
			<label for="webUrl">Web URL</label>
			<form:input path="webUrl"/>
			<form:errors path="webUrl" cssClass="error" />
		</div>
		<div class="form-row">
			<label for="phone">Phone</label>
			<form:input path="phone"/>
			<form:errors path="phone" cssClass="error" />
		</div>
		<div class="form-row">
			<label for="phoneMobile">Mobile Phone</label>
			<form:input path="phoneMobile"/>
			<form:errors path="phoneMobile" cssClass="error" />
		</div>
		<div class="form-row">
			<label for="email">Email</label>
			<form:input path="email"/>
			<form:errors path="email" cssClass="error" />
		</div>
		<div class="form-row">
			<label for="contactPerson">Contact Person</label>
			<form:input path="contactPerson"/>
			<form:errors path="contactPerson" cssClass="error" />
		</div>
	</fieldset>
	<input type="submit" value="submit"/>
	<a href="<c:url value="list.html"/>">Back to list</a>
</form:form>
</body>
</html>